package com.sugon.service.impl;

import com.sugon.dao.MesDayproductcountDao;
import com.sugon.entity.MesDayproductcountEntity;
import com.sugon.service.MesDayproductcountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 日产量统计结果表Service实现类
 *
 * @author sugon
 * @date 2020-07-19 08:52:40
 */
@Service("mesDayproductcountService")
public class MesDayproductcountServiceImpl implements MesDayproductcountService {
    @Autowired
    private MesDayproductcountDao mesDayproductcountDao;

    @Override
    public MesDayproductcountEntity queryObject(String fLinecode) {
        return mesDayproductcountDao.queryObject(fLinecode);
    }

    @Override
    public List<MesDayproductcountEntity> queryList(Map<String, Object> map) {
        return mesDayproductcountDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return mesDayproductcountDao.queryTotal(map);
    }

    @Override
    public int save(MesDayproductcountEntity mesDayproductcount) {
        return mesDayproductcountDao.save(mesDayproductcount);
    }

    @Override
    public int update(MesDayproductcountEntity mesDayproductcount) {
        return mesDayproductcountDao.update(mesDayproductcount);
    }

    @Override
    public int delete(String fLinecode) {
        return mesDayproductcountDao.delete(fLinecode);
    }

    @Override
    public int deleteBatch(String[] fLinecodes) {
        return mesDayproductcountDao.deleteBatch(fLinecodes);
    }
}
